package com.prj.dy.datamgr
{
	import mx.collections.XMLListCollection;

	[Bindable]
	public class PgModel
	{
		public function PgModel(xmlValue:XML)
		{
			xmlOfPg = xmlValue;
		}
		
		
		//////////////////// begin get set for://////////////////////////////////		
		private var _xmlOfPg:XML;

		public function get xmlOfPg():XML
		{
			return _xmlOfPg;
		}

		public function set xmlOfPg(value:XML):void
		{
			_xmlOfPg = value;
			xmlListCollOfPgElems = new XMLListCollection();			
			xmlListCollOfPgElems.source = xmlOfPg.photos.*;
		}
		//////////////////// end get set //////////////////////////////////		
		
		
		//////////////////// begin get set for://////////////////////////////////		
		private var _xmlListCollOfPgElems:XMLListCollection;
		
		public function get xmlListCollOfPgElems():XMLListCollection
		{
			return _xmlListCollOfPgElems;
		}
		
		protected function set xmlListCollOfPgElems(value:XMLListCollection):void
		{
			_xmlListCollOfPgElems = value;
		}		
		//////////////////// end get set //////////////////////////////////
		
		
	}
}